7339ad9205e6f0fc9da137d073878c6b54833b33,src/freenet/node/NodeUpdater.java,NodeUpdater,maybeUpdate,#,207
Before Change
//TODO maybe a UpdateInProgress alert ?
if(isAutoUpdateAllowed){
Logger.normal(this,"Starting the update process");
}else{
Logger.normal(this,"Not starting the update process as it's not allowed");
}
After Change
//TODO maybe a UpdateInProgress alert ?
if(isAutoUpdateAllowed){
Logger.normal(this,"Starting the update process");
// We fetch it
try{
if(cg==null||cg.isCancelled()){
cg = new ClientGetter(this, node.chkFetchScheduler, node.sskFetchScheduler,
URI.setSuggestedEdition(availableVersion), ctx, RequestStarter.BULK_SPLITFILE_PRIORITY_CLASS,
this, new ArrayBucket());
}
cg.start();
isFetching = true;
}catch (Exception e) {
Logger.error(this, "Error while starting the fetching");
}
}else{
Logger.normal(this,"Not starting the update process as it's not allowed");